package com.test.spring4;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

@Configuration
@ComponentScan(basePackages = "com.test.spring4"
//排除规则
,excludeFilters=@Filter(type=FilterType.ASSIGNABLE_TYPE,classes = UserController.class)
)
public class AnnotationScan {

}
